package cn.turboinfo.dongying.api.scheduler

import org.springframework.boot.CommandLineRunner
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication

/**
 * author: sunshow.
 */

@SpringBootApplication
class DongyingApiSchedulerApplication : CommandLineRunner {
    override fun run(vararg args: String?) {
        Thread.currentThread().join()
    }
}

fun main(args: Array<String>) {
    runApplication<DongyingApiSchedulerApplication>(*args)
}